package com.yfp.tissue.domain.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (Machine)表实体类
 *
 * 
 * @since 2023-12-11 17:43:48
 */
@Schema(title = "设备管理")
@Data
public class Machine implements Serializable {
    private static final long serialVersionUID = -51701326328911805L;
    //机器id
    @Schema(title = "机器id")
    private String machineId;
    //公司id
    @Schema(title = "公司id")
    private String companyId;
    //区域id
    @Schema(title = "区域id")
    private String areaId;
    //线路id
    @Schema(title = "线路id")
    private String routeId;
    //点位id
    @Schema(title = "点位id")
    private String positionId;
    //设备类型（1：二代机  2：三代机）
    @Schema(title = "设备类型（1：二代机  2：三代机）")
    private Integer machineType;
    //设备名称
    @Schema(title = "设备名称")
    private String machineName;
    //维修负责人userid
    @Schema(title = "维修负责人userid")
    private String serviceContracts;
    //设备投放时间
    @Schema(title = "设备投放时间")
    private Date operationTime;
    //投放地址
    @Schema(title = "投放地址")
    private String positionAddr;
    //经度
    @Schema(title = "经度")
    private String longitude;
    //纬度
    @Schema(title = "纬度")
    private String latitude;
    //冷藏温度
    @Schema(title = "冷藏温度")
    private String temperature;
    //开门检测（正常1/异常0）
    @Schema(title = "开门检测（正常1/异常0）")
    private Boolean openDoorCheck;
    //关门检测（正常1/异常0）

    @Schema(title = "关门检测（正常1/异常0）")
    private Boolean closeDoorCheck;
    //出餐检测（正常1/异常0）
    @Schema(title = "出餐检测（正常1/异常0）")
    private Boolean outMealCheck;
    //取餐检测（正常1/异常0）
    @Schema(title = "取餐检测（正常1/异常0）")
    private Boolean takeMealCheck;
    //设备电量
    @Schema(title = "设备电量")
    private String kwh;
    //运营状态（1：运营中，2：休息中 3：故障中 4: 补货）
    @Schema(title = "运营状态（1：运营中，2：休息中 3：故障中 4: 补货）")
    private String operationStatus;
    //启用1/禁用0
    @Schema(title = "启用1/禁用0")
    private Integer enable;
    //固件版本
    @Schema(title = "固件版本")
    private String firmwareVersion;
    //app版本
    @Schema(title = "app版本")
    private String appVersion;
    //app版本名称
    @Schema(title = "app版本名称")
    private String appVersionName;
    //主广告id
    @Schema(title = "主广告id")
    private String masterAdId;
    //副广告id
    @Schema(title = "副广告id")
    private String secondaryAdId;
    //VMC连接状态
    @Schema(title = "VMC连接状态")
    private String vmcStatus;
    //创建时间
    @Schema(title = "创建时间")
    private Date createTime;
    //更新时间
    @Schema(title = "更新时间")
    private Date updateTime;
    //是否删除
    @Schema(title = "是否删除")
    private String isDelete;
    @Schema(title = "设备型号")
    private String machineModel;
    @Schema(title = "在线状态")
    private String onlineStatus;


}

